package java56_6;

public class PetDoctorTest {

	public static void main(String[] args) {
		PetDoctor d = new PetDoctor("老吴", "131893333333");
		Penuin p = new Penuin("小花花", 4, "公");
		d.cure(p);
		System.out.println(">>>>>>>>>>>>>>>>>>>>>>");
		Dog d1 = new Dog("杰克", 3, "公", "斗牛犬");
		d.cure(d1);
		System.out.println(">>>>>>>>>>>>>>>>>>>>>>");
		Cat c = new Cat("汤姆", 68, "公");
		d.cure(c);

		// Pet p2 = new Pet("小五花", 1, "公");
		// d.cure(p2);
	}

}
